package com.ychen.springbatch.skip;

/**
 * @author chenyuliao
 * @version 1.0
 * @description
 * @date 2020/10/21 14:07
 */
public class CustomException extends RuntimeException {

    private String code;

    private String msg;

    public CustomException(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
